package com.leolian.code.fragment.book.jvm.chapter10;

import java.util.ArrayList;
import java.util.List;

public class GenericTypes1 {

	public static String method(List<String> list) {
		System.out.println("invoke method(List<String> list)");
		return "";
	}

//	public static int method(List<Integer> list) {
//		System.out.println("invoke method(List<Integer> list)");
//		return 1;
//	}

	public static void main(String[] args) {
		method(new ArrayList<String>());
//		method(new ArrayList<Integer>());
	}

}